package gapidt.analysis.designproblems;

import gapidt.analysis.ASTUtils;

import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.JavaModelException;

public class WhateverMethodReturnType extends MethodDesignProblem{
	
	public WhateverMethodReturnType(IMethod method){
		super(method);
		try {
			if(method.getReturnType() != null)
				addTemplateBinding("returnType", ASTUtils.parse(method).getReturnType2().toString());
		} catch (JavaModelException e) { }
	}
}
